FROM python:3.10.9-slim
COPY ./app/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
COPY ./app /project/app/
WORKDIR /project/app
EXPOSE 8000
CMD ["python", "server.py"]
